package com.yxs.school.api.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yxs.school.api.entity.File;
import com.yxs.school.api.mapper.FileMapper;
import com.yxs.school.api.service.IFileService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 文件 服务实现类
 * </p>
 *
 * @author whp
 * @since 2019-11-22
 */
@Service
public class FileServiceImpl extends ServiceImpl<FileMapper, File> implements IFileService {
    @Resource
    private FileMapper fileMapper;
    @Override
    public List<File> selectListWr(QueryWrapper<File> queryWrapper) {
        return fileMapper.selectListWr(queryWrapper);
    }
}
